Component({
  data: {
    sheetHidden: true,
    sheetDatas: [
      {sheetId:1, sheetLabel: "选项一"},
      {sheetId:2, sheetLabel: "选项二"},
      {sheetId:3, sheetLabel: "选项三"},
    ]
  },
  methods: {
    sheetHiddenHandle() {
      this.setData({
        sheetHidden: !this.data.sheetHidden
      });
    },

    cancelSheetHandle() {
      this.sheetHiddenHandle();
    },

    clickSheetOption(e) {
      let optionLabel = e.currentTarget.dataset.optionLabel;
      wx.showToast({
        title: '点击了' + optionLabel,
      });
    }
  }
});